package io.renren.modules.sys.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 开奖时间与期数
 *
 * @author wuxianji
 * @since 2017/11/18 下午3:34
 **/
@ConfigurationProperties(prefix = "spring.bottom")
@Component
public class SysBottomOpening {

    /**
     * 短局，5分钟
     */
    private Map<String, String> shortOpening;

    /**
     * 长局，10分钟
     */
    private Map<String, String> longOpening;


    public Map<String, String> getShortOpening() {
        return shortOpening;
    }

    public void setShortOpening(Map<String, String> shortOpening) {
        this.shortOpening = shortOpening;
    }

    public Map<String, String> getLongOpening() {
        return longOpening;
    }

    public void setLongOpening(Map<String, String> longOpening) {
        this.longOpening = longOpening;
    }
}
